package com.demo.service;

import com.demo.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private Student student;

    public void func(){
        System.out.println(student.toString());
    }
}
